This section describes how to upgrade to Accusoft’s new Runtime Licensing.
Prior to Barcode Xpress 8, runtime licensing was accomplished using the UnlockRuntime method.
In Barcode Xpress 8 and later, the default licensing model is Automatically Reported Runtime Licensing. However, based on your contracted usage of this software, you may be eligible for Manually Reported Runtime Licensing. Your Accusoft Sales Representative (sales@accusoft.com) can help you determine which model is appropriate.
Refer to the following sections for information about upgrading to the new Runtime Licensing models:
Changing to the Automatically Reported Runtime Licensing
In your Barcode Xpress 7 codebase, find any existing calls to the UnlockRuntime or UnlockWeb method.
C++ |
Copy Code |
barcodeXpress1->UnlockRuntime(12345,12345,12345,12345);
|
VB6 |
Copy Code |
BarcodeXpress1.UnlockRuntime 12345,12345,12345,12345
|
JavaScript |
Copy Code |
BarcodeXpress1.UnlockWeb("ServerLicenseString…");
|
In your Barcode Xpress 9 codebase, replace the UnlockRuntime or UnlockWeb method with calls to the SetSolutionName and SetSolutionKey methods.
C++ |
Copy Code |
barcodeXpress1->SetSolutionName("YourSolutionName");
barcodeXpress1->SetSolutionKey(12345,12345,12345,12345);
|
VB6 |
Copy Code |
BarcodeXpress1.SetSolutionName "YourSolutionName"
BarcodeXpress1.SetSolutionKey 12345,12345,12345,12345
|
JavaScript |
Copy Code |
BarcodeXpress1.SetSolutionName("YourSolutionName");
BarcodeXpress1.SetSolutionKey(12345,12345,12345,12345);
|
Changing to the Manually Reported Runtime Licensing
In your Barcode Xpress 7 codebase, find any existing calls to the UnlockRuntime or UnlockWeb method.
C++ |
Copy Code |
barcodeXpress1->UnlockRuntime(12345,12345,12345,12345);
|
VB6 |
Copy Code |
BarcodeXpress1.UnlockRuntime 12345,12345,12345,12345
|
JavaScript |
Copy Code |
BarcodeXpress1.UnlockWeb("ServerLicenseString…");
|
In your Barcode Xpress 9 codebase, replace the UnlockRuntime or UnlockWeb method with calls to the SetSolutionName, SetSolutionKey, and SetOEMLicenseKey methods.
C++ |
Copy Code |
barcodeXpress1->SetSolutionName("YourSolutionName");
barcodeXpress1->SetSolutionKey(12345,12345,12345,12345);
barcodeXpress1->SetOEMLicenseKey("1.0.AStringForOEMLicensing…");
|
VB6 |
Copy Code |
BarcodeXpress1.SetSolutionName "YourSolutionName"
BarcodeXpress1.SetSolutionKey 12345,12345,12345,12345
BarcodeXpress1.SetOEMLicenseKey "1.0.AStringForOEMLicensing…"
|
JavaScript |
Copy Code |
BarcodeXpress1.SetSolutionName("YourSolutionName");
BarcodeXpress1.SetSolutionKey(12345,12345,12345,12345);
BarcodeXpress1.SetOEMLicenseKey("1.0.AStringForOEMLicensing…");
|
There is no longer a separate method for web licensing. That functionality has been integrated into the SetOEMLicenseKey method.